home *** CD-ROM | disk | FTP | other *** search
- mouseListener = new Object();
- mouseListener.thisPath = this;
- mouseListener.onMouseMove = function()
- {
- this.thisPath.scrollingLine = (this.thisPath._y - this.thisPath.firstY) / this.thisPath.scrollRange * 0.5 * this.thisPath._parent.messageTF.maxscroll;
- this.thisPath._parent.messageTF.scroll = Math.ceil(this.thisPath.scrollingLine);
- };
- this.onPress = function()
- {
- if(this.readyScroll)
- {
- Mouse.addListener(this.mouseListener);
- this.startDrag(false,this._x,this.firstY,this._x,this.firstY + this.scrollRange * 2);
- }
- };
- this.onRelease = function()
- {
- Mouse.removeListener(this.mouseListener);
- stopDrag();
- };
-